# 离线部署：https://download.docker.com/linux/static/stable/x86_64/
# 解压并拷贝
tar -zxvf xxx.tgz && cp docker/* /usr/bin/
# 注册 service
vim /etc/systemd/system/docker.service
# 赋予权限
chmod +x /etc/systemd/system/docker.service
# 重载 unit
systemctl daemon-reload
# 启动服务并设置自启
systemctl start docker && systemctl enable docker.service
